<?php
$this->pageTitle = 'Trang chính' . ' | ' . Yii::app()->name;
$this->breadcrumbs = array(
    'Trang chính' => HSUrl::backendUrl(),
);
?>
<?php if (count($task) > 0) { ?>
    <div style='border:1px solid gray; margin-bottom:15px;padding:10px;'>
        <h2><?php echo $day ?></h2>
        <?php foreach ($task as $item) { ?>
            <h4><?php echo $item->title ?></h4>
            <p>
                <?php echo $item->content ?>
            </p>
            <?php if ($item->note != '') echo "<p>$item->note</p>" ?>
        <?php } ?>

    </div>
<?php } ?>
